package com.xqboss.apps.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotNull;

/**
 * <p>
 *     用户实名认证请求
 * </p>
 * @author Trent
 * @date 2023/9/12
 */
@Data
@ApiModel
public class UserRealNameDto {

    @ApiModelProperty(value = "身份证姓名", required = true)
    @NotNull(message = "请输入身份证姓名")
    @Length(min = 2, message = "请输入正确的姓名")
    private String idCardName;

    @ApiModelProperty(value = "身份证号", required = true)
    @NotNull(message = "请输入身份证号")
    private String idCard;

    @ApiModelProperty("阿里云人脸识别环境参数")
    private String metaInfo;


    @ApiModelProperty("阿里云返回的地址")
    private String returnUrl;
}
